package cn.beyond.vehicleManagement.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 车辆维修表
 */
public class VehicleRepair implements Serializable {
    private Integer id;//维修Id
    private Integer vehicle_id;//车辆id
    private String repair_address;//维修地点
    private Integer repair_reason;//维修原因 1.零件老化，2，车祸导致
    private Double repair_money;//维修所花金额
    private String repair_discribe;//车辆维修情况描述
    private Date repari_date;//车辆维修时间
    private Double insurancePay;//保险公司赔付
    private String remark;//备注

    public VehicleRepair() {
    }

    public VehicleRepair(Integer id, Integer vehicle_id, String repair_address, Integer repair_reason, Double repair_money, String repair_discribe, Date repari_date, Double insurancePay, String remark) {
        this.id = id;
        this.vehicle_id = vehicle_id;
        this.repair_address = repair_address;
        this.repair_reason = repair_reason;
        this.repair_money = repair_money;
        this.repair_discribe = repair_discribe;
        this.repari_date = repari_date;
        this.insurancePay = insurancePay;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVehicle_id() {
        return vehicle_id;
    }

    public void setVehicle_id(Integer vehicle_id) {
        this.vehicle_id = vehicle_id;
    }

    public String getRepair_address() {
        return repair_address;
    }

    public void setRepair_address(String repair_address) {
        this.repair_address = repair_address;
    }

    public Integer getRepair_reason() {
        return repair_reason;
    }

    public void setRepair_reason(Integer repair_reason) {
        this.repair_reason = repair_reason;
    }

    public Double getRepair_money() {
        return repair_money;
    }

    public void setRepair_money(Double repair_money) {
        this.repair_money = repair_money;
    }

    public String getRepair_discribe() {
        return repair_discribe;
    }

    public void setRepair_discribe(String repair_discribe) {
        this.repair_discribe = repair_discribe;
    }

    public Date getRepari_date() {
        return repari_date;
    }

    public void setRepari_date(Date repari_date) {
        this.repari_date = repari_date;
    }

    public Double getInsurancePay() {
        return insurancePay;
    }

    public void setInsurancePay(Double insurancePay) {
        this.insurancePay = insurancePay;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "VehicleRepair{" +
                "id=" + id +
                ", vehicle_id=" + vehicle_id +
                ", repair_address='" + repair_address + '\'' +
                ", repair_reason=" + repair_reason +
                ", repair_money=" + repair_money +
                ", repair_discribe='" + repair_discribe + '\'' +
                ", repari_date=" + repari_date +
                ", insurancePay=" + insurancePay +
                ", remark='" + remark + '\'' +
                '}';
    }
}
